package com.mls.fivedistrict.enums;

import com.baomidou.mybatisplus.enums.IEnum;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;

/**
 * 投票选项类型枚举
 * Created by chenxiuxiang on 2018/5/21.
 */
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum VoteChoiceTypeEnums implements IEnum {
    SINGLECHOICE("singleChoice", "单选"),
    DOUBLECHOICE("doubleChoice", "双选"),
    MULTIPLECHOICE("multipleChoice", "多选");
    private String value;
    private String desc;

    VoteChoiceTypeEnums(String value, String desc) {
        this.value = value;
        this.desc = desc;
    }

    @Override
    public Serializable getValue() {
        return null;
    }
}
